package com.ncucoder.soms.service;

import com.ncucoder.soms.entity.Role;

import java.util.List;

/**
 * @author <a href="https://www.ncucoder.com">hsowan</a>
 * @date 2019-07-06
 */
public interface RoleService {

    int createRole(Role role);
    int deleteRole(Long roleId);
    void correlationPermissions(Long roleId, List<Long> permissionIds);
    void uncorrelationPermissions(Long roleId, List<Long> permissionIds);//


}
